package com.vasthu.gui;

public class VstGuiConstants {

	public static final String IMAGE_PATH = "../images/";

    public static final String[] USER_COL_NAMES = {"User Name", "Name", "Address", "City", "Phone", "Email", "NIC", "Date of Birth", "Role"};
    public static final Class[] USER_COL_CLASSES = {String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class};
    public static final String[] ROLE_COL_NAMES = {"Role", "Description"};
    public static final Class[] ROLE_COL_CLASSES = {String.class, String.class};
    public static final String[] CAT_COL_NAMES = {"Category", "Description"};
    public static final Class[] CAT_COL_CLASSES = {String.class, String.class};
    public static final String[] ITEM_COL_NAMES = {"Item Code", "Name", "Brand", "Description", "Category"};
    public static final Class[] ITEM_COL_CLASSES = {String.class, String.class, String.class, String.class, String.class};
    public static final Class[] STOCK_COL_CLASSES = {String.class, String.class, String.class, String.class, String.class, String.class, String.class};
    public static final String[] STOCK_COL_NAMES = {"Item No", "Quantity", "Unit Price", "Min Price", "Max Price", "Discount", "Expiry Date"};
    public static final String[] BILL_COL_NAMES = {"No", "Date", "Total Amount"};
    public static final Class[] BILL_COL_CLASSES = {String.class, String.class, String.class};
    public static final String[] FUNCTION_COL_NAMES = {"Id", "Function", "Description"};
    public static final Class[] FUNCTION_COL_CLASSES = {String.class, String.class, String.class};
	
	// separate header for Bill Items
	public static final String[] BILL_ITEM_COL_NAMES = {"Item Code", "Item Name", "Category", "Qty", "Unit Price", "Discount %", "Tax %"};
    public static final Class[] BILL_ITEM_COL_CLASSES = {String.class, String.class, String.class, Float.class, Float.class, Float.class, Float.class};
	
    public static final int USER_FORM_ADD = 0;
    public static final int USER_FORM_UPDATE = 1;
    public static final int ROLE_FORM_ADD = 0;
    public static final int ROLE_FORM_UPDATE = 1;
    public static final int CATEGORY_FORM_ADD = 0;
    public static final int CATEGORY_FORM_UPDATE = 1;
    public static final int ITEM_FORM_ADD = 0;
    public static final int ITEM_FORM_UPDATE = 1;
    public static final int STOCK_FORM_ADD = 0;
    public static final int STOCK_FORM_UPDATE = 1;
    public static final int BILL_FORM_ADD = 0;
    public static final int BILL_FORM_UPDATE = 1;
    public static final int FUNCTION_FORM_ADD = 0;
    public static final int FUNCTION_FORM_UPDATE = 1;
}